$authr()
require('../css/myBadge.less')



document.ready(function () {


    
    let shwoBadge = document.querySelector('#shwoBadge');
    let showMask = document.querySelector('#showMask');
    let showImg = document.querySelector('#showImg');
    showMask.addEventListener('click', function () {
        this.classList.add("opacity")
    })
    shwoBadge.addEventListener('click', e => {
        if (e.target.localName == "img") {
            showMask.classList.remove('opacity')
            showImg.src = e.target.src
        }
    })



})